package com.tianjin.design.visitor;

public class WaterPeopleElementVisitor extends PeopleElementVisitor{
    @Override
    public void visitElementHand(ElementHand elementHand) {
        System.out.println("洗手");
    }

    @Override
    public void visitElementLeg(ElementLeg elementLeg) {
        System.out.println("洗脚");
    }
}
